#import "OnyxRadiateView.h"


@implementation OnyxRadiateView



- (void)setHologramTonic:(OnyxRadiateModel *)hologramTonic {
	_hologramTonic = hologramTonic;

	//: 配置cell的UI

	self.echoesLabel.text = [hologramTonic.whistle stringValue];

}
//: olive 的点击事件
- (void)action_0 {}

- (UITextView *)braveSymphonyTextView {
	if (!_braveSymphonyTextView) {
	
        _braveSymphonyTextView = [UITextView new];
        _braveSymphonyTextView.size = CGSizeMake(99, 40);
        _braveSymphonyTextView.left = 48;
        _braveSymphonyTextView.top = 10;
	}
	return _braveSymphonyTextView;
}

//: dabbleGrit 的点击事件
- (void)action_3 {}

- (void)blazeJoyfulInitUIKitView {

    //: 描述_0
    UIButton *olive = [UIButton new];
    UIImage *luminousRadiate = [UIImage imageNamed:@"images/icon_0.png"];
    if (luminousRadiate) {
	    [olive setImage:luminousRadiate forState:UIControlStateNormal];
    }
    [olive setTitle:@"button_0" forState:UIControlStateNormal];
    [olive setTitle:@"button_selected_0" forState:UIControlStateSelected];
    [olive setTitleColor:[UIColor colorWithRed:240/255.0 green:58/255.0 blue:153/255.0 alpha:0.6] forState:UIControlStateNormal];
    [olive setTitleColor:[UIColor colorWithRed:215/255.0 green:61/255.0 blue:202/255.0 alpha:1.0] forState:UIControlStateSelected];
    [olive addTarget:self action:@selector(action_0) forControlEvents:UIControlEventTouchUpInside];
    self.magnitudeButton = olive;
    [self addSubview:olive];
	[self.magnitudeButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(112);
		make.height.mas_equalTo(42);
		make.bottom.equalTo(@(28));
	}];

	//: 描述_1
	[self addSubview:self.braveSymphonyTextView];


    //: 描述_2
    UITextView *binary = [[UITextView alloc] init];
    binary.frame = CGRectMake(22, 13, 65, 68);
    self.jeopardyNoodleTextView = binary;
    [self addSubview:binary];


    //: 描述_3
    UIButton *dabbleGrit = [[UIButton alloc] init];
    dabbleGrit.frame = CGRectMake(33, 49, 175, 131);
    UIImage *tranquil = [UIImage imageNamed:@"images/icon_3.png"];
    if (tranquil) {
	    [dabbleGrit setImage:tranquil forState:UIControlStateNormal];
    }
    [dabbleGrit setTitle:@"button_3" forState:UIControlStateNormal];
    [dabbleGrit setTitle:@"button_selected_3" forState:UIControlStateSelected];
    [dabbleGrit setTitleColor:[UIColor colorWithRed:35/255.0 green:125/255.0 blue:130/255.0 alpha:0.5] forState:UIControlStateNormal];
    [dabbleGrit setTitleColor:[UIColor colorWithRed:77/255.0 green:61/255.0 blue:132/255.0 alpha:0.9] forState:UIControlStateSelected];
    [dabbleGrit addTarget:self action:@selector(action_3) forControlEvents:UIControlEventTouchUpInside];
    self.quakeButton = dabbleGrit;
    [self addSubview:dabbleGrit];


    //: 描述_4
    UITextField *journeyGraspPioneer = [[UITextField alloc] init];
    journeyGraspPioneer.size = CGSizeMake(75, 96);
    journeyGraspPioneer.left = 12;
    journeyGraspPioneer.top = 30;
    self.enchantingOnwardTextField = journeyGraspPioneer;
    [self addSubview:journeyGraspPioneer];


    //: 描述_5
    self.swoopKingdomFreedomView = [[UIView alloc] initWithFrame:CGRectZero];
    [self addSubview:self.swoopKingdomFreedomView];
	[self.swoopKingdomFreedomView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(169);
		make.height.mas_equalTo(131);
		make.top.equalTo(@(10));
	}];


    //: 描述_6
    UITextView *elevateDazzle = [UITextView new];
    self.gritXylophoneTextView = elevateDazzle;
    [self addSubview:elevateDazzle];
	[self.gritXylophoneTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(70);
		make.height.mas_equalTo(175);
		make.bottom.equalTo(@(11));
	}];


    //: 描述_7
    UILabel *flutterNoodle = [[UILabel alloc] init];
    flutterNoodle.frame = CGRectMake(24, 21, 137, 110);
    flutterNoodle.text = @"label_7";
    flutterNoodle.font = [UIFont systemFontOfSize:14 weight:UIFontWeightRegular];
    flutterNoodle.textColor = [UIColor colorWithRed:208/255.0 green:42/255.0 blue:124/255.0 alpha:1.0];
    flutterNoodle.textAlignment = NSTextAlignmentRight;
    flutterNoodle.numberOfLines = 0;
    self.echoesLabel = flutterNoodle;
    [self addSubview:flutterNoodle];
}


@end